package com.bblocks.serve.vo;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@Schema(description = "ServiceCatalogVo")
public class ServiceCatalogVo {

	@Schema(description="")
	private Long id;

	@Schema(description="名称")
	private String name;


	@Schema(description="业务码")
	private String code;

	@Schema(description="等级,从1开始")
	private Integer lv;

	@Schema(description="顶级为0")
	private Long parentId;

	@Schema(description="状态:0=停用,1=启用,2=删除")
	private Integer status;

	@Schema(description="服务保证金")
	private BigDecimal bondAmt;

	@Schema(description="备注")
	private String remark;

	@Schema(description="收费模式:0=不收费,1=全额,2=预付")
	private Integer chargingMode;

	@Schema(description="限购数量(某些业务不允许多购)")
	private Integer limitNum;

	@Schema(description="")
	private Date createTime;

	@Schema( description="业务code 支持多个")
	private String businessCode;

	@Schema(description="分类：1=服务,2=分类,3=个人分类")
	private Integer catalogType;

	@Schema(description="所属人（个人分类尤其重要）")
	private Long createUserId;

	@Schema(description="排序")
	private Integer catalogOrder;

	@Schema(description = "业务主类型：1=保洁，2=维修,3=搬家，0=其他 默认0")
	private Integer serviceType;

	@Schema(description="服务全部直接父级ID(逗号分割)")
	private String allParentIds;

	@Schema(description="是否基础服务（服务才有）:1=是，0=否")
	private Integer isBase;

	@Schema(description="业务表code(具体服务才有)")
	private String professionCode;


	@Schema(description="别名/全名称")
	private String aliasName;

	@Schema(description = "业务评价维度（不配置则综合评价，来源自字典：t_dict.dict_cate_id=236）多个逗号分割")
	private String discussFactorTypes;

	@Schema(description="叶子交易类型（允许空,支持多个逗号分割）：1=买,2=卖,3=出租,4=求租")
	private String businessTransType;

	@Schema(description="服务类型：1=上门，2=到店")
	private Integer serveType;

	@Schema(description="发布的类型（多个逗号分隔，基础服务需要）：1=案例，2=服务 3=电商")
	private String goodsType;
}
